<template>
  <el-dialog :visible.sync="dialog" :modal = "false" title="预览" width="500px" >
    <div>
      <img :src="url" style="width: 100%">
    </div>
  </el-dialog>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  components: {},
  props: {
  },
  data() {
    return {
      dialog: false,
      url: ''
    }
  },
  computed: {
    ...mapGetters([
      'ossUrl'
    ])
  },
  methods: {
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
</style>
